package zut.cs.liziflower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Address对象", description="")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收货地址id")
    @TableId(value = "addressid", type = IdType.AUTO)
    private Integer addressid;

    @ApiModelProperty(value = "外键")
    private Integer userid;

    @ApiModelProperty(value = "手机号")
    private String receivephone;

    @ApiModelProperty(value = "省")
    private String receiceprovince;

    @ApiModelProperty(value = "市")
    private String receivecity;

    @ApiModelProperty(value = "区/县")
    private String receivedistrict;

    @ApiModelProperty(value = "详细地址")
    private String receiveaddress;


}
